<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登陆</title>
</head>
<link rel="stylesheet" type="text/css"
	href="${cxt!}/files/bootstrap/css/bootstrap.min.css">
<script src="${cxt!}/files/bootstrap/js/bootstrap.min.js"></script>
<script src="${cxt!}/files/jquery/jquery-1.11.2.min.js"></script>
<style type='text/css'>
body {
	padding-top: 40px;
	padding-bottom: 40px;
	background-color: #eee;
}

.form-signin {
	max-width: 330px;
	padding: 15px;
	margin: 0 auto;
}

.form-signin .form-signin-heading,.form-signin .checkbox {
	margin-bottom: 10px;
}

.form-signin .checkbox {
	font-weight: normal;
}

.form-signin .form-control {
	position: relative;
	font-size: 16px;
	height: auto;
	padding: 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.form-signin .form-control.top {
	border-radius: 0;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.form-signin .form-control.center {
	border-radius: 0;
	border-top: none;
}

.form-signin .form-control.bottom {
	border-radius: 0;
	border-top: none;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}

.form-signin .form-control:focus {
	z-index: 2;
}

.form-signin input[type="email"] {
	margin-bottom: -1px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.form-signin input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
</style>

<script>
	function login() {
		loginForm.action = "/doLogin";
		loginForm.submit();
	}
</script>

<body>

<div class="container">
	<form class="form-signin" role="form" method="post" id="loginForm">
		<h2 class="form-signin-heading">账号登录</h2>
		<span></span> 
		<input type="text" name="username" class="form-control top" placeholder="用户名" required autofocus>
		<input type="password" name="password" class="form-control center" placeholder="密码" required autofocus> 
		<input type="text" name="captcha" class="form-control bottom" placeholder="验证码"required>
		<img id="img" src="/img" alt="换一张" />
		<span/> 
		<button class="btn btn-primary " type="submit" onclick="login();">登录</button>
	</form>
	<center>
		<a target="_blank">Stream Studio</a>
	</center>
</div>
<!-- /container -->
	
</body>
</html>
